package com.hamilton.erik.pt.core.model;

import java.io.Serializable;

import com.hamilton.erik.pt.core.enumeration.EnclosureShape;

public class Enclosure implements Serializable {

	private static final long serialVersionUID = -8531232169196267154L;
	
	private Long id;
	private Long animalId;
	private String enclosureType;
	private EnclosureShape shape;
	private Double height;
	private Double length;
	private Double width;
	private Double volume;
	private String volumeUnit;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getAnimalId() {
		return animalId;
	}
	
	public void setAnimalId(Long animalId) {
		this.animalId = animalId;
	}
	
	public String getEnclosureType() {
		return enclosureType;
	}
	
	public void setEnclosureType(String enclosureType) {
		this.enclosureType = enclosureType;
	}
	
	public EnclosureShape getShape() {
		return shape;
	}
	
	public void setShape(EnclosureShape shape) {
		this.shape = shape;
	}
	
	public void setShape(String shape) {
		this.shape = EnclosureShape.fromValue(shape);
	}
	
	public Double getHeight() {
		return height;
	}
	
	public void setHeight(Double height) {
		this.height = height;
	}
	
	public Double getLength() {
		return length;
	}
	
	public void setLength(Double length) {
		this.length = length;
	}
	
	public Double getWidth() {
		return width;
	}
	
	public void setWidth(Double width) {
		this.width = width;
	}
	
	public Double getVolume() {
		return volume;
	}
	
	public void setVolume(Double volume) {
		this.volume = volume;
	}
	
	public String getVolumeUnit() {
		return volumeUnit;
	}
	
	public void setVolumeUnit(String volumeUnit) {
		this.volumeUnit = volumeUnit;
	}
	
}
